package com.ocom.common.request.exposeapi;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.*;


@Data
public class GKDBaseRequest {

	@NotNull(message = "timestamp 毫秒时间长不能为空")
	Long timestamp;

	@NotBlank(message = "comId 不能为空")
	String comId;   //实际是 comAppId
	@NotBlank(message = "nonceStr 不能为空")
	@Length(min = 32, max = 32, message = "nonceStr长度必须为32")
	String nonceStr;  // 32
	@Length(min = 32, max = 32, message = "sign长度必须为32")
	@NotBlank(message = "sign 不能为空")
	String sign;   //实际是 comAppId

}
